package com.carkeeper;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.context.annotation.Bean;
import springfox.documentation.swagger2.annotations.EnableSwagger2;
import tk.mybatis.spring.annotation.MapperScan;

@SpringBootApplication
@EnableEurekaClient
@EnableSwagger2
@MapperScan(basePackages = {"com.carkeeper.department.dao","com.carkeeper.employee.dao","com.carkeeper.menu.dao","com.carkeeper.role.dao","com.carkeeper.user.dao"})
public class DepartmentApplication {


    public static void main(String[] args) {

        SpringApplication.run( DepartmentApplication.class);
    }
}
